package com.wipz.eoa.iphone.toDoTask;

import java.util.List;

import com.wipz.eoa.iphone.BaseAction;

/**
 * 
 * @author Biqing Zeng
 * @date 2012-2-7 上午10:57:45
 */
public class ToDoTaskAction extends BaseAction {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private ToDoTaskOperate toDoTaskOperate;
	
	private List list;

	public List getList() {
		return list;
	}

	public void setList(List list) {
		this.list = list;
	}

	public void setToDoTaskOperate(ToDoTaskOperate toDoTaskOperate) {
		this.toDoTaskOperate = toDoTaskOperate;
	}
	
	public String list() {
		String COMMITERCODE = this.getRequest().getParameter("COMMITERCODE");
		if(COMMITERCODE.isEmpty()) {
			return SUCCESS;
		}
		list = toDoTaskOperate.doQuery(COMMITERCODE);
		return SUCCESS;
	}
}
